package com.x.bff.app.model.vo.cms;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.x.provider.api.general.model.dto.cms.ContentTitleItemCreateReqDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel
public class ContentCreateReqVO {
    @ApiModelProperty(value = "内容类型 5 形象展示")
    @NotNull
    @Min(1)
    private Integer itemType;
    @JsonIgnore
    private Long customerId;
    @ApiModelProperty(value = "内容标题，没有就不填入")
    private String title;
    @ApiModelProperty(value = "内容标题，形象展示不填入此值")
    private List<ContentTitleItemCreateReqVO> contentTitleItemList;
    @ApiModelProperty(value = "内容封面，形象展示可不填入")
    private String coverFileId;
    @ApiModelProperty(value = "照片文件id, 形象展示需要填入一个元素")
    private List<String> pictureFileIdList;
    @ApiModelProperty(value = "视频文件id, 形象展示目前不需要填入此值")
    private List<String> videoFileIdList;
}
